{{extend 'layout.html'}}

<h1>Streams of Lattice Gauge Configurations</h1>

{{=plugin_jqgrid(db.stream,columns=('id','name', 'description'),col_widths={'id':100,'name':250,'description':450},width=800)}}

{{if form:}}
<h2><a href="" onclick="jQuery('.form').slideToggle();return false">Create a new Stream</a></h2>
<div class='form'>{{=form}}</div>
{{if not form.errors:}}<script>jQuery(document).ready(function(){jQuery('.form').hide()})</script>{{pass}}
{{else:}}
{{=login}} to create a new stream
{{pass}}


